import { createRouter, createWebHistory } from "vue-router";

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: "/",
            name: "overview",
            component: () => import("@/views/overview/index.vue"),
        },
        {
            path: "/forecast",
            name: "forecast",
            component: () => import("@/views/forecast/index.vue"),
        },
        {
            path: "/warning",
            name: "warning",
            component: () => import("@/views/Warning.vue"),
        },
        {
            path: "/prediction",
            name: "prediction",
            component: () => import("@/views/Prediction.vue"),
        },
        {
            path: "/plan",
            name: "plan",
            component: () => import("@/views/Plan.vue"),
        },
        {
            path: "/monitor",
            name: "monitor",
            component: () => import("@/views/Monitor.vue"),
        },
    ],
});

export default router;
